package com.zb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zb.entity.RoleAuthorDefaultData;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author WEN
 * @Date 2024/5/8 0008
 **/
@Repository
public interface RoleAuthorDefaultDataMapper extends BaseMapper<RoleAuthorDefaultData> {
    /**
     * 获取注册企业时创建的两个角色ID
     * @param custAccId 商家ID
     * @return
     */
    List<Long> getRoleIdByCustAccId(@Param("custAccId") Long custAccId);
}
